package BasicMethod;
public class char_class {

   // char ch = 'a';

   // Unicode 字符表示形式
   static char uniChar = '\u039A';

   // 字符数组
   static char[] charArray = { 'a', 'b', 'c', 'd', 'e' };

   public static void main(String[] args) {
      Character ch = new Character('a');

      System.out.println(ch);
      System.out.println("访问\"菜鸟教程!\"");
      System.out.println("unicode:" + uniChar);
      for (char x : charArray)
      {
         char xx = Character.toUpperCase(x);
         System.out.println("char in arrary:" + xx);
      }
   }
}